package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/7 16:59
 */
@Entity
@Table(name = "dis_drug_batch_diuknot")
public class DisDrugBatchDiuknot extends BaseEntity{
    @Id
    private String code;//PK [CODE, VARCHAR2, 32]
    private String pharmroomCode;//药房编码 [PHARMROOM_CODE, VARCHAR2, 32]
    private String drugCode;//药品编码 [DRUG_CODE, VARCHAR2, 32]
    private Date diuknotDate;//日结时间 [DIUKNOT_DATE, DATE, 7]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private BigDecimal earlyStageTotal;//期初数量 [EARLY_STAGE_TOTAL, NUMBER, 14.4]
    private BigDecimal collInTotal;//领用入库数量 [COLL_IN_TOTAL, NUMBER, 14.4]
    private BigDecimal retInTotal;//科室退库入库数量 [RET_IN_TOTAL, NUMBER, 14.4]
    private BigDecimal rdgInTotal;//门诊住院退药入库数量 [RDG_IN_TOTAL, NUMBER, 14.4]
    private BigDecimal allocInTotal;//调拨入库数量 [ALLOC_IN_TOTAL, NUMBER, 14.4]
    private BigDecimal inventInTotal;//盘盈入库数量 [INVENT_IN_TOTAL, NUMBER, 14.4]
    private BigDecimal collOutTotal;//科室领用出库数量 [COLL_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal lossOutTotal;//报损出库数量 [LOSS_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal hmdOutTotal;//门诊住院发药出库数量 [HMD_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal retOutTotal;//药房退库出库数量 [RET_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal allocOutTotal;//调拨出库数量 [ALLOC_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal inventOutTotal;//盘亏出库数量 [INVENT_OUT_TOTAL, NUMBER, 14.4]
    private BigDecimal balanceTotal;//结余数量 [BALANCE_TOTAL, NUMBER, 14.4]
    private Date updateTime;//创建时间 [UPDATE_TIME, DATE, 7]
    private String tstatus;//状态 [TSTATUS, VARCHAR2, 1]


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPharmroomCode() {
        return pharmroomCode;
    }

    public void setPharmroomCode(String pharmroomCode) {
        this.pharmroomCode = pharmroomCode;
    }

    public String getDrugCode() {
        return drugCode;
    }

    public void setDrugCode(String drugCode) {
        this.drugCode = drugCode;
    }

    public Date getDiuknotDate() {
        return diuknotDate;
    }

    public void setDiuknotDate(Date diuknotDate) {
        this.diuknotDate = diuknotDate;
    }

    public BigDecimal getEarlyStageTotal() {
        return earlyStageTotal;
    }

    public void setEarlyStageTotal(BigDecimal earlyStageTotal) {
        this.earlyStageTotal = earlyStageTotal;
    }

    public BigDecimal getCollInTotal() {
        return collInTotal;
    }

    public void setCollInTotal(BigDecimal collInTotal) {
        this.collInTotal = collInTotal;
    }

    public BigDecimal getRetInTotal() {
        return retInTotal;
    }

    public void setRetInTotal(BigDecimal retInTotal) {
        this.retInTotal = retInTotal;
    }

    public BigDecimal getRdgInTotal() {
        return rdgInTotal;
    }

    public void setRdgInTotal(BigDecimal rdgInTotal) {
        this.rdgInTotal = rdgInTotal;
    }

    public BigDecimal getAllocInTotal() {
        return allocInTotal;
    }

    public void setAllocInTotal(BigDecimal allocInTotal) {
        this.allocInTotal = allocInTotal;
    }

    public BigDecimal getInventInTotal() {
        return inventInTotal;
    }

    public void setInventInTotal(BigDecimal inventInTotal) {
        this.inventInTotal = inventInTotal;
    }

    public BigDecimal getCollOutTotal() {
        return collOutTotal;
    }

    public void setCollOutTotal(BigDecimal collOutTotal) {
        this.collOutTotal = collOutTotal;
    }

    public BigDecimal getLossOutTotal() {
        return lossOutTotal;
    }

    public void setLossOutTotal(BigDecimal lossOutTotal) {
        this.lossOutTotal = lossOutTotal;
    }

    public BigDecimal getHmdOutTotal() {
        return hmdOutTotal;
    }

    public void setHmdOutTotal(BigDecimal hmdOutTotal) {
        this.hmdOutTotal = hmdOutTotal;
    }

    public BigDecimal getRetOutTotal() {
        return retOutTotal;
    }

    public void setRetOutTotal(BigDecimal retOutTotal) {
        this.retOutTotal = retOutTotal;
    }

    public BigDecimal getAllocOutTotal() {
        return allocOutTotal;
    }

    public void setAllocOutTotal(BigDecimal allocOutTotal) {
        this.allocOutTotal = allocOutTotal;
    }

    public BigDecimal getInventOutTotal() {
        return inventOutTotal;
    }

    public void setInventOutTotal(BigDecimal inventOutTotal) {
        this.inventOutTotal = inventOutTotal;
    }

    public BigDecimal getBalanceTotal() {
        return balanceTotal;
    }

    public void setBalanceTotal(BigDecimal balanceTotal) {
        this.balanceTotal = balanceTotal;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
